
<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
        <form class="layui-form" method="post">
            <input lay-ignore type="hidden" name='order_goods_id' value='<?=$order['id']?>'/>
            <input lay-ignore type="hidden" name='goods_id' value='<?=$order['goods_id']?>'/>
            <input lay-ignore type="hidden" name='goods_price_id' value='<?=$order['goods_price_id']?>'/>
            <div class="layui-form-item">
              <label class="layui-form-label">确认收货</label>
              <div class="layui-input-block">
                <input type="checkbox" name="checked[]" <?php if($order['sh_status'] == 1):?>checked<?php endif;?> title="是的我已收到货物了">
              </div>
              <div class="layui-form-mid layui-word-aux">货物已发,请确认收到货物后可评价</div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">满意度：</label>
              <div class="layui-input-block">
                <input type="radio" <?php if($info['grade'] == 0):?>checked<?php endif;?> name='grade' value='0' title="非常不满意"/>
                <input type="radio" <?php if($info['grade'] == 1):?>checked<?php endif;?> name='grade' value='1' title="一般"/>
                <input type="radio" <?php if($info['grade'] == 2):?>checked<?php endif;?> name='grade' value='2' title="满意"/>
                <input type="radio" <?php if(!$info|$info['grade'] == 3):?>checked<?php endif;?> name='grade' value='3' title="非常满意"/>
              </div>
            </div>

            <div class="layui-form-item">
              <label class="layui-form-label">内容：</label>
              <div class="layui-input-block">
                  <textarea class="layui-textarea" required lay-verify="required" name="content" placeholder="请输入您的评价"><?=$info['content']?></textarea>
              </div>
            </div>
			<?php if(!$order['sh_status']):?>
	          <div class="layui-form-item">
	            <div class="layui-input-block">
	              <button class="layui-btn" lay-submit lay-filter="myform">确定</button>
	              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
	            </div>
	          </div>
		  <?php endif;?>
        </form>
      </div>
    </div>
</div>
